/*
 * Loader.h
 *
 *  Created on: May 4, 2011
 *      Author: alki
 */

#ifndef LOADER_H_
#define LOADER_H_

#include "../manager/MaterialManager.h"
#include "../objekte/Objekt.h"
#include <vector>
#include <stdio.h>
#include <iostream>

using namespace std;

class Loader {
public:
	Loader();
	virtual ~Loader();

	virtual void LoadFile(string filename,vector<Objekt> &objekte,MaterialManager &matman);

protected:
	static void strsplit(string const& str,const char delemiter,vector<string> &destination);
	static bool streq(const string& str1, const string& str2);
	static bool strbegins(const string& str1, const string& str2);
};

#endif /* LOADER_H_ */
